package App.Event;

import javax.persistence.criteria.CriteriaBuilder;
import java.io.InputStream;

/**
 * Created by yu on 2017/7/19.
 */
public class ImageEvent extends CommonEvent
{

    public InputStream inputStream;
    public ImageEvent(Object source)
    {
        super(source);
    }

    public ImageEvent(Object source,InputStream inputStream, String content)
    {
        super(source,content);
        this.setInputStream(inputStream);
    }

    public InputStream getInputStream() {
        return inputStream;
    }

    public void setInputStream(InputStream inputStream) {
        this.inputStream = inputStream;
    }
}
